<template>
  <div class="heat-map">

    <div class="map-wrap">
<iframe width="100%" height="100%" src="http://8.130.120.35:7777/" frameborder="0"></iframe>
    </div>


  </div>
</template>
<script>
import { api } from "@/api/index.js";

export default {
  props: {
    handleDataTime: {
      type: Function,
      default: () => {},
    },
  },
  data() {
    return {
    
    };
  },
  mounted() {

  },
  beforeDestroy() {

  },
  methods: {
  
  },
};
</script>
<style scoped lang='scss'>
.heat-map {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;

  .select-wrap {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 3;
    .yl-selector {
      width: 200px;
      ::v-deep .el-input__inner {
        background-color: #173d40;
        border-color: #25bade;
        color: white;

        &:hover,
        &:focus,
        &:active {
          border-color: #25bade;
        }

        &::placeholder {
          color: white;
        }
      }

      ::v-deep {
        .el-select-dropdown__item {
          text-align: center;
        }
      }
    }
  }

  .map-wrap {
    height: 1080px;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    overflow: hidden;
  }
  .map-mask {
    height: vh(1080px);
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    overflow: hidden;
    background: url("~@/assets/waterLevel/bg_alpha.png");
    background-size: 100% 100%;
    pointer-events: none; /* 这里添加 pointer-events 属性 */
  }
  .legend-wrap {
    width: 140px;
    position: absolute;
    z-index: 3;
    bottom: 0;
    font-family: Microsoft YaHei;
    font-size: vh(16px);
    color: #dafdff;
    p {
      margin: 0;
    }
    .item {
      margin-top: 4px;
      .legend {
        width: 20px;
        height: 10px;
        display: inline-block;
        margin-right: 4px;
      }
    }
  }
}
</style>
